﻿using Caliburn.Micro;
using myapp.Events;
using myapp.Events.ViewModel;
using myapp.Instances;
using myappcore.ViewModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace myapp.ViewModels
{
    /// <summary>
    /// Item Group ViewModel
    /// </summary>
    public class ItemGroupViewModel : IBaseContentViewModel
    {
        #region Attribute

        #endregion

        #region Properties

        /// <summary>
        /// Data of possition
        /// </summary>
        public ItemGroup ItemGroup { get; set; }

        #endregion

        #region Contructor

        #endregion

        #region Method
        public void ItemGroupSelected()
        {
            MainInstance.Instance.EventAggregator.Publish(new ViewModelItemGroupSelectedEvent()
            {
                ItemGroupViewModel = this
            });
        }
        #endregion
    }
}
